package com.itheima.ai.service;

import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ChatHistoryService {



    /**
     * 保存会话记录
     * @param type 业务类型，如 chat ,service ,pdf
     * @param chatId 会话ID
     */

     void saveHistory(String type, String chatId);


    List<String> getHistory(String type);
}
